[pull] master from cube-js:master#508
Merged
Merged
Conversation
The new Mintlify docs are served at docs.cube.dev. The old Next.js/Nextra site at cube.dev/docs now issues cross-domain 301s to it so legacy URLs and inbound links keep resolving. - Add build_old_site_redirects.py generator that reuses the existing PATH_REWRITES mapping to produce the cross-domain redirect table from the old redirects.json (specific page redirects first, then wildcard prefix redirects + a /product catch-all). - Generate redirects-new-docs.json (509 redirects). - Wire it into next.config.mjs and point root / at the new introduction. basePath: false is intentionally omitted so sources still match under the /docs basePath while absolute destinations stay external (verified against Next.js load-custom-routes and checkCustomRoutes). Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
…#10994) Aligns the dashboard widget docs with the product UI, which renamed the "Add Time Grain" toolbar button and the "Time Grain" switcher widget to "Time Granularity" (and grouped Filter / Time Granularity under an "Add Controls" label). Renames the "Time grain switcher" heading (and its #time-grain-switcher anchor → #time-granularity-switcher), the "Allowed grains" / "Default grain" subsections, and all body copy across the controls, widgets index, charts, and dashboard-agent pages. Co-authored-by: Gleb Sologub <director@mentee.group>
The default row limit for workbook semantic queries was documented as 5,000; update it to 10,000 to match the current product default. The adjustable maximum (50,000) is unchanged. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
The cross-domain redirect table (#11002) sent most legacy cube.dev/docs URLs to non-existent docs.cube.dev pages — 386 of 509 destinations (76%) returned 404, e.g. /product/data-modeling/reference/pre-aggregations went to the dead /docs/data-modeling/reference/pre-aggregations instead of the real /reference/data-modeling/pre-aggregations. Root cause: build_old_site_redirects.py reused rewrite_links.PATH_REWRITES, which describes an intermediate migration layout (/access-security, /api-reference, /analytics tabs and /docs/data-modeling/reference/...) that never shipped. Content was consolidated into the live tabs (admin, reference, docs, recipes, embedding, configuration, cube-core). Rewrite the generator to be content-driven and self-validating: - Derive each destination by matching the old page's body text against the live Mintlify pages (new files were copied from old ones during migration, so prose is preserved). 319 old pages mapped. - Pin ambiguous/consolidated/removed pages in an explicit OVERRIDES table, verified by hand against the real tree. - Emit a redirect for every legacy alias and every canonical /product page, plus a /product/:path* catch-all so nothing 404s. - Validate every destination against the on-disk Mintlify tree and exit non-zero if any would 404, so a broken table can't be committed silently. Regenerated redirects-new-docs.json (509 -> 774 entries, all validated). All 455 original alias sources remain covered. Live-checked the reported pre-aggregations page (now 200, was 404) plus a 30-destination sample (all 200). Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )